luci-app-attendedsysupgrade: report used client version
authorPaul Spooren <[email protected]>
Thu, 28 Jul 2022 20:43:46 +0000 (22:43 +0200)
committerPaul Spooren <[email protected]>
Fri, 29 Jul 2022 14:50:37 +0000 (16:50 +0200)
commitd0828b367297902edd95566c78f1784ab6d1657a
treef470001834029f71cbdf1653f25403a198a91317
parent010119fb5ab56f3e8c6d9d51f014771c1ef08e72
luci-app-attendedsysupgrade: report used client version

This allows the backend to track popular app versions and drop support for
unsed version in case of API changes.

Specifically the app sends a version string in the format "luci/GIT_HASH" to
the backend.

Signed-off-by: Paul Spooren <[email protected]>
(cherry picked from commit f368faf6789a43c2e1a26b721f8115473672eb29)
applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js